/*
package com.cskaoyan.servlet;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.service.AdminTopicService;
import com.cskaoyan.service.AdminTopicServiceImpl;
import com.cskaoyan.util.DispatchUtil;
import com.cskaoyan.util.JacksonUtil;
import lombok.SneakyThrows;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

*/
/**
 * @ClassName: AdminTopicBatchServlet
 * @Description: TODO
 * @Author: jenyutao@gmail.com
 * @date: 2023/6/2 11:35
 * @Version: V1.0
 *//*


@WebServlet("/admin/topic/batch-delete")
public class AdminTopicBatchServlet extends HttpServlet {

    AdminTopicService adminTopicService = new AdminTopicServiceImpl();

    @SneakyThrows
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        String s = request.getReader().readLine();
        Map<String, List<Integer>> read = JacksonUtil.read(s, Map.class);


        BaseRespVo batch = adminTopicService.batch(read);

        String write = JacksonUtil.write(batch);
        response.getWriter().write(write);

    }
}
*/
